package com.inxedu.os.edu.service.statistics;

import com.inxedu.os.edu.pojo.EduStatisticsDay;
import com.inxedu.os.edu.pojo.EduUserLoginLog;

import java.util.Date;
import java.util.List;

public interface MainSystemStatistics {
    /**
     * 查询开始那天到昨天的统计信息
     * @param startDate
     * @param endDate
     * @return
     */
    List<EduStatisticsDay> selectMessageSomeTimesAgo(String startDate, String endDate);
    List<EduStatisticsDay> selectRegisteredNumBefore(String startDate, String endDate);
    List<EduStatisticsDay> selectVideoVieWingNumBefore(String startDate, String endDate);
    List<EduStatisticsDay> selectDailyUserNumberBefore(String startDate, String endDate);
    List<EduStatisticsDay> selectDailyCourseNumberBefore(String startDate, String endDate);

    /**
     * 查询今天目前为止的用户活跃信息
     * @return
     */
    List<EduUserLoginLog> selectUserLoginToDay();

    int enerateStatistics(String time);

    int delStatistics(String statisticsTime);
}
